package com.mmall.service.impl;

import com.mmall.dao.OrderItemMapper;
import com.mmall.service.IOrderItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pojo.OrderItem;
import java.util.List;

@Service
public class OrderItemServiceImpl implements IOrderItemService {

    @Autowired
    OrderItemMapper orderItemMapper;

    @Override
    public void batchInsert(List<OrderItem> orderItems) {
        orderItemMapper.batchInsert(orderItems);
    }
}
